const type = {
    RULE_RESOLVE: 1,
    COMPUTE: 2
}

/**
 * 险金档案流程状态枚举
 */
const enumMap = {
    [type.COMPUTE]: {
        value: type.COMPUTE,
        text: '计算问题'
    },
    [type.RULE_RESOLVE]: {
        value: type.RULE_RESOLVE,
        text: '规则解释'
    }
};

/**
 * 将枚举转换成Array
 * @returns {[]}
 */
enumMap.list = () => [enumMap[type.COMPUTE], enumMap[type.RULE_RESOLVE]]

export {
    enumMap as default,
    type as feedbackProblemType
};
